package com.chinacreator.galaxylive.wx;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 微信配置
 */
@Configuration
public class WxConfig {

  @Value("#{properties.wx_token}")
  private String token;

  @Value("#{properties.wx_appid}")
  private String appid;

  @Value("#{properties.wx_appsecret}")
  private String appsecret;

  @Value("#{properties.wx_aeskey}")
  private String aesKey;

  /**
   * 网页授权回调地址
   */
  @Value("#{properties.wx_oauth2redirectUri}")
  private String oauth2redirectUri;

  public String getOauth2redirectUri() {
    return oauth2redirectUri;
  }

  public void setOauth2redirectUri(String oauth2redirectUri) {
    this.oauth2redirectUri = oauth2redirectUri;
  }

  public String getToken() {
    return this.token;
  }

  public String getAppid() {
    return this.appid;
  }

  public String getAppsecret() {
    return this.appsecret;
  }

  public String getAesKey() {
    return this.aesKey;
  }

}
